<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="Public/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="Public/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="Public/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="Public/Admin/Flat/img/favicon.ico">
	    	<!--载入验证js-->
	    	<link rel="stylesheet" type="text/css" href="Public/validate/mzyValidate.css"/>
	    	<script src="Public/validate/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
	    	<script src="Public/validate/mzyValidate.js" type="text/javascript" charset="utf-8"></script>
	    	<style type="text/css">
	    		.error_input{
				border: 2px solid #f00;
				padding: 2px;
				box-shadow: 0 0 3px #FF0000;
			}
	    	</style>
	</head>
	<body>
		<!--mzy_validate(当前form表单对象,提交地址,错误的input样式(可以不填),错误提示样式1和2(可以不填，默认是1))-->
		<form action="" method="post">
		<div class="alert alert-success">修改属性</div>
		<div class="form-group">
			<label for="exampleInputEmail1">属性名称</label>
			<input value="{{$oldData['naname']}}" id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入类型名称"  name="naname" rule="required" msg="请输入属性名称">
		</div>
		
		<div class="form-group">
			<label for="exampleInputEmail1">属性值</label>
			<input value="{{$oldData['nazhi']}}" id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入类型名称"  name="nazhi" rule="required" msg="请输入属性值">
		</div>
		
		<div class="form-group">
			<label for="exampleInputEmail1">属性类型</label>
			
			<select name="natype" class="form-control">
				{{if value="$oldData['natype']"==1}}
				<option value="0">规格</option>
				<option value="1">属性</option>
				{{else}}
				<option value="1">属性</option>
				<option value="0">规格</option>
				{{endif}}
			</select>
			
		</div>
		
		<input type="hidden" name="nid" value="{{$oldData['nid']}}"/>
		<button class="btn btn-primary btn-block" type="submit"> 确定 </button>
		</form>
	</body>
</html>
 	